package com.sky.constant;

/**
 * @author Administrator
 * 支付方式【1->支付宝；2->微信；3->银联； 4->货到付款；】
 */
public enum PayType {
    ALI_PAY(1,"支付宝"),
    WECHAT_PAY(2,"微信支付"),
    UNION_PAY(3,"银联支付"),
    DELIVERY_PAY(4,"其他支付");

    private Integer code;
    private String name;

    PayType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
